package com.acmedcare.framework.spring.boot.app;

import com.acmedcare.framework.exchange.center.endpoint.ExchangeCenterServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import xyz.vopen.tiffany.swagger.EnableSwagger2;

/**
 * {@link ApplicationBootstrap}
 *
 * @author <a href="mailto:iskp.me@gmail.com">stefan.gu</a>
 * @version ${project.version} - 2019-09-02.
 */
@EnableSwagger2
@SpringBootApplication(scanBasePackageClasses = ExchangeCenterServer.class)
@Import(ExchangeCenterServer.class)
public class ApplicationBootstrap {

  public static void main(String[] args) {
    SpringApplication.run(ApplicationBootstrap.class, args);
  }
}
